package com.sls.web.manager.game.service;

import java.util.List;

import com.sls.web.manager.game.pojo.Goods;
import com.sls.web.manager.game.pojo.GoodsBrand;
import com.sls.web.manager.game.pojo.GoodsSupply;
import com.sls.web.manager.pojo.UserInfoVO;

/**
 * 商品审核
 * 
 * @author cx
 * 
 */
public interface AuditService {
	/**
	 * 新增商品品牌信息
	 * 
	 * @param goodsBrand
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public String addBrand(GoodsBrand goodsBrand, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 新增商品信息
	 * 
	 * @param goods
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public String addGoods(Goods goods, UserInfoVO userInfoVO) throws Exception;

	/**
	 * 新增供应商品信息
	 * 
	 * @param goodsSupply
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public GoodsSupply addGoodsSupply(GoodsSupply goodsSupply, UserInfoVO userInfoVO)
			throws Exception;

	/**
	 * 根据商品品牌名称模糊查询所有与此名称相似的商品品牌
	 * 
	 * @param originalGoodsId
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public List<GoodsBrand> queryBrandList(String originalGoodsId,
			String supplyId, UserInfoVO userInfoVO) throws Exception;

	/**
	 * 根据商品品牌编号查询属于此品牌的所有商品
	 * 
	 * @param brandId
	 * @param userInfoVO
	 * @return
	 * @throws Exception
	 */
	public List<Goods> queryGoodsListByBrandId(String brandId,
			String goodsState, UserInfoVO userInfoVO) throws Exception;

}
